package com.blog.dao;

import java.util.List;
import java.util.Map;

import com.blog.entity.Comment;
import com.sun.org.apache.xml.internal.resolver.helpers.PublicId;

public interface CommentDao {
	
	public List<Comment> list(Map<String,Object> map);
	
	public int add(Comment comment);
	
	public Long getTotal(Map<String, Object>map);
	
	public int update(Comment comment);
	
	public Integer delete(Integer id);
}
